<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="x5-orientation" content="portrait">
    <meta name="x5-fullscreen" content="true">
    <meta name="screen-orientation" content="portrait" />
    <meta name="full-screen" content="yes">
    <meta name="format-detection" content="telephone=no,email=no">
    <link rel="stylesheet" href="../css/public.css">
    <link rel="stylesheet" href="../css/coupon.css">
    <title>Softlink</title>
    <script>
        (function (deviceWidth, fontSize) {
            deviceWidth = deviceWidth || 640;
            fontSize = fontSize || 100;
            var metas = document.querySelectorAll('meta');
            var viewPort = [].slice.call(metas).filter((item) => {
                return item.name === 'viewport';
            })[0];
            if (!viewPort) {
                var meta = document.createElement('meta');
                meta.name = 'viewport';
                viewPort = document.head.insertBefore(meta, metas[metas.length - 1].nextElementSibling);
            }
            var scale = 1 / window.devicePixelRatio;
            viewPort.content = `width=device-width, initial-scale=${scale}, maximum-scale=${scale}, minimum-scale=${scale}, user-scalable=no`;
            var html = document.documentElement;
            var fn = function () {
                html.style.fontSize = (html.clientWidth / deviceWidth) * fontSize + 'px';
            };
            fn();
            window.addEventListener('resize', fn);
        })(750, 50);
    </script>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="https://unpkg.com/better-scroll@1.0.1/dist/bscroll.min.js"></script>
    <script src="../js/public.js"></script>
    <script src="../js/coupon.js"></script>
</head>
<body>
    <div class="wrapper">
        <div class="content">
            <div class="warp">
                <div class="quan xuan">
                    <div class="top">
                        <div class="l">
                            <h3>电子书折扣券</h3>
                            <p>有效期至2017-10-22</p>
                        </div>
                        <div class="r">5折</div>
                    </div>
                    <div class="bottom">
                        <div class="l">
                            <p>最高可抵扣¥12</p>
                            <p>资料库市场见面礼</p>
                        </div>
                        <div class="r">可抵扣¥10.49</div>
                    </div>
                </div>
                <div class="quan">
                    <div class="top">
                        <div class="l">
                            <h3>电子书折扣券</h3>
                            <p>有效期至2017-10-22</p>
                        </div>
                        <div class="r">5折</div>
                    </div>
                    <div class="bottom">
                        <div class="l">
                            <p>最高可抵扣¥12</p>
                            <p>资料库市场见面礼</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>